package org.lqq.controller;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * Created by 李清泉 on 2017/12/12.
 *
 * @remark
 */
public class Teee {

//    public static void main(String[] args){
//        ServerSocket serverSocket=null;
//        try {
//            serverSocket=new ServerSocket(10113);
//            while (true){
//                Socket socket=serverSocket.accept();
//                InputStream inputStream= socket.getInputStream();
//                BufferedReader reader=new BufferedReader(new InputStreamReader(inputStream,"utf-8"));
//                String s=null;
//                while ((s=reader.readLine())!=null){
//                    System.out.println(s);
//                }
//                socket.close();
//            }
//        }catch (Exception e){
//            e.printStackTrace();
//        }
//    }
}
